package com.atguigu.springcloud.entities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @auther zzyy
 * @create 2021-06-26 16:33
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("支付实体信息") //@ApiModel：描述对象的作用
public class Payment implements Serializable
{
    @ApiModelProperty("支付ID") //@ApiModelProperty:描述对象里字段的作用
    private Long id;
    @ApiModelProperty("支付流水")
    private String serial;
}
